<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="utf-8"/>
    <title>秒杀商品列表</title>

</head>
<body>
    <table class="table" id="goodslist">
        <tr><td>商品名称</td><td>商品图片</td><td>商品原价</td><td>秒杀价</td><td>详情</td></tr>
        <tr  th:each="goods:${goodsList}">
            <td th:text="${goods.goodsname}"></td>
            <td ><img th:src="${goods.goodsimg}" width="100" height="100" /></td>
            <td th:text="${goods.goodsprice}"></td>
            <td th:text="${goods.killprice}"></td>
            <td><a th:href="'/Kill/KillID?killid='+${goods.killid}">详情</a></td>
        </tr>
    </table>
    <a href="/user/logOut">注销</a>
</body>
</html>
